package com.jinke.api.modules.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinke.api.modules.base.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author macro
 * @since 2024-01-16
 */
@Getter
@Setter
@TableName("user_api")
@ApiModel(value = "UserApi对象", description = "")
public class UserApi extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("APP KEY")
    private String apiKey;

    @ApiModelProperty("状态 0 停用 1 启用")
    private Integer status;

    @ApiModelProperty("是否禁用 0否 1是")
    private Integer banned;

}
